package com.zxl.common.model.bo.wx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author zxw
 * @date 2023/3/31
 */
@Data
@ApiModel("小程序登录")
public class WxUserLoginBo {
    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("头像地址")
    private String avatarUrl;

    @ApiModelProperty("code")
    @NotBlank(message = "不能为空")
    private String code;

}
